home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / RLaB 1.18c / manual / union.tex < prev    next >
LaTeX Document  |  1994-04-27  |  1.1 KB  |  [TEXT/ttxt]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: LaTeX Document (document/latex).

You can browse this item here: union.tex

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CR line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CR] default (weak)


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[ttxt]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 75 6e 69 6f 6e 20 2d |\section|{union -|
|00000010| 2d 2d 20 55 6e 69 6f 6e | 20 6f 66 20 74 77 6f 20 |-- Union| of two |
|00000020| 73 65 74 73 7d 0d 5c 6c | 61 62 65 6c 7b 66 6e 3a |sets}.\l|abel{fn:|
|00000030| 75 6e 69 6f 6e 7d 0d 5c | 69 6e 64 65 78 7b 75 6e |union}.\|index{un|
|00000040| 69 6f 6e 28 29 7d 0d 5c | 69 6e 64 65 78 7b 73 65 |ion()}.\|index{se|
|00000050| 74 21 75 6e 69 6f 6e 7d | 0d 5c 69 6e 64 65 78 7b |t!union}|.\index{|
|00000060| 75 6e 69 6f 6e 20 6f 66 | 20 74 77 6f 20 73 65 74 |union of| two set|
|00000070| 73 7d 0d 5c 62 65 67 69 | 6e 7b 72 61 69 6c 7d 0d |s}.\begi|n{rail}.|
|00000080| 55 6e 69 6f 6e 20 3a 20 | 27 75 6e 69 6f 6e 27 20 |Union : |'union' |
|00000090| 27 28 27 20 4d 61 74 72 | 69 78 20 27 2c 27 20 4d |'(' Matr|ix ',' M|
|000000a0| 61 74 72 69 78 20 27 29 | 27 20 3b 0d 5c 65 6e 64 |atrix ')|' ;.\end|
|000000b0| 7b 72 61 69 6c 7d 0d 0d | 54 68 65 20 5c 76 65 72 |{rail}..|The \ver|
|000000c0| 62 2b 75 6e 69 6f 6e 2b | 20 66 75 6e 63 74 69 6f |b+union+| functio|
|000000d0| 6e 20 72 65 74 75 72 6e | 73 20 61 20 76 65 63 74 |n return|s a vect|
|000000e0| 6f 72 20 73 65 74 20 74 | 68 61 74 20 69 73 20 74 |or set t|hat is t|
|000000f0| 68 65 20 75 6e 69 6f 6e | 20 6f 66 20 74 68 65 0d |he union| of the.|
|00000100| 74 77 6f 20 73 65 74 73 | 20 73 75 70 70 6c 69 65 |two sets| supplie|
|00000110| 64 20 61 73 20 61 72 67 | 75 6d 65 6e 74 73 2e 20 |d as arg|uments. |
|00000120| 20 41 20 73 65 74 20 69 | 73 20 6a 75 73 74 20 61 | A set i|s just a|
|00000130| 20 72 6f 77 20 6f 72 20 | 63 6f 6c 75 6d 6e 20 76 | row or |column v|
|00000140| 65 63 74 6f 72 2e 0d 0d | 24 5c 4c 6f 6e 67 72 69 |ector...|$\Longri|
|00000150| 67 68 74 61 72 72 6f 77 | 24 20 54 68 69 73 20 69 |ghtarrow|$ This i|
|00000160| 73 20 6e 6f 74 20 61 6e | 20 5c 52 4c 61 42 5c 20 |s not an| \RLaB\ |
|00000170| 62 75 69 6c 74 2d 69 6e | 20 66 75 6e 63 74 69 6f |built-in| functio|
|00000180| 6e 2e 20 20 54 68 69 73 | 20 66 75 6e 63 74 69 6f |n. This| functio|
|00000190| 6e 0d 69 73 20 6e 6f 72 | 6d 61 6c 6c 79 20 6c 6f |n.is nor|mally lo|
|000001a0| 61 64 65 64 20 6f 6e 20 | 73 74 61 72 74 2d 75 70 |aded on |start-up|
|000001b0| 20 66 72 6f 6d 20 74 68 | 65 20 5c 76 65 72 62 2b | from th|e \verb+|
|000001c0| 75 6e 69 6f 6e 2e 72 2b | 20 66 69 6c 65 20 69 6e |union.r+| file in|
|000001d0| 20 74 68 65 0d 73 74 61 | 6e 64 61 72 64 20 5c 76 | the.sta|ndard \v|
|000001e0| 65 72 62 2b 72 6c 69 62 | 2b 20 64 69 72 65 63 74 |erb+rlib|+ direct|
|000001f0| 6f 72 79 2e 20 55 73 65 | 20 6f 66 20 74 68 65 20 |ory. Use| of the |
|00000200| 5c 76 65 72 62 2b 2d 72 | 2b 20 6f 70 74 69 6f 6e |\verb+-r|+ option|
|00000210| 2c 20 69 6e 63 6f 72 72 | 65 63 74 6c 79 20 0d 73 |, incorr|ectly .s|
|00000220| 65 74 74 69 6e 67 20 74 | 68 65 20 5c 76 65 72 62 |etting t|he \verb|
|00000230| 2b 52 4c 41 42 5f 4c 49 | 42 5f 44 49 52 2b 20 65 |+RLAB_LI|B_DIR+ e|
|00000240| 6e 76 69 72 6f 6e 6d 65 | 6e 74 61 6c 20 76 61 72 |nvironme|ntal var|
|00000250| 69 61 62 6c 65 2c 20 6f | 72 20 6d 6f 64 69 66 79 |iable, o|r modify|
|00000260| 69 6e 67 0d 5c 76 65 72 | 62 2b 75 6e 69 6f 6e 2e |ing.\ver|b+union.|
|00000270| 72 2b 20 6d 61 79 20 6d | 61 6b 65 20 74 68 69 73 |r+ may m|ake this|
|00000280| 20 66 75 6e 63 74 69 6f | 6e 20 75 6e 61 76 61 69 | functio|n unavai|
|00000290| 6c 61 62 6c 65 2e 0d 0d | 0d 5c 70 61 72 61 67 72 |lable...|.\paragr|
|000002a0| 61 70 68 7b 45 78 61 6d | 70 6c 65 7d 0d 5c 69 6e |aph{Exam|ple}.\in|
|000002b0| 64 65 78 7b 65 78 61 6d | 70 6c 65 20 6f 66 20 75 |dex{exam|ple of u|
|000002c0| 6e 69 6f 6e 28 29 7d 0d | 5c 69 6e 64 65 78 7b 75 |nion()}.|\index{u|
|000002d0| 6e 69 6f 6e 28 29 21 65 | 78 61 6d 70 6c 65 7d 0d |nion()!e|xample}.|
|000002e0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|000002f0| 0d 3e 20 61 20 3d 20 31 | 3a 33 0d 20 61 20 3d 0d |.> a = 1|:3. a =.|
|00000300| 20 20 20 20 20 20 20 20 | 31 20 20 20 20 20 20 20 | |1 |
|00000310| 20 20 20 32 20 20 20 20 | 20 20 20 20 20 20 33 20 | 2 | 3 |
|00000320| 20 0d 3e 20 62 20 3d 20 | 5b 32 2c 35 2c 38 2c 2d | .> b = |[2,5,8,-|
|00000330| 32 5d 0d 20 62 20 3d 0d | 20 20 20 20 20 20 20 20 |2]. b =.| |
|00000340| 32 20 20 20 20 20 20 20 | 20 20 20 35 20 20 20 20 |2 | 5 |
|00000350| 20 20 20 20 20 20 38 20 | 20 20 20 20 20 20 20 20 | 8 | |
|00000360| 2d 32 20 20 0d 3e 20 75 | 6e 69 6f 6e 28 61 2c 62 |-2 .> u|nion(a,b|
|00000370| 29 0d 20 20 20 20 20 20 | 20 2d 32 20 20 20 20 20 |). | -2 |
|00000380| 20 20 20 20 20 31 20 20 | 20 20 20 20 20 20 20 20 | 1 | |
|00000390| 32 20 20 20 20 20 20 20 | 20 20 20 33 20 20 20 20 |2 | 3 |
|000003a0| 20 20 20 20 20 20 35 20 | 20 20 20 20 20 20 20 20 | 5 | |
|000003b0| 20 38 20 0d 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 | 8 .\end|{verbati|
|000003c0| 6d 7d 0d 0d 53 65 65 20 | 61 6c 73 6f 3a 20 50 61 |m}..See |also: Pa|
|000003d0| 67 65 7e 5c 70 61 67 65 | 72 65 66 7b 66 6e 3a 63 |ge~\page|ref{fn:c|
|000003e0| 6f 6d 70 6c 65 6d 65 6e | 74 7d 20 5c 76 65 72 62 |omplemen|t} \verb|
|000003f0| 2b 63 6f 6d 70 6c 65 6d | 65 6e 74 28 29 2b 2c 0d |+complem|ent()+,.|
|00000400| 50 61 67 65 7e 5c 70 61 | 67 65 72 65 66 7b 66 6e |Page~\pa|geref{fn|
|00000410| 3a 69 6e 74 65 72 73 65 | 63 74 69 6f 6e 7d 20 5c |:interse|ction} \|
|00000420| 76 65 72 62 2b 69 6e 74 | 65 72 73 65 63 74 69 6f |verb+int|ersectio|
|00000430| 6e 28 29 2b 2c 0d 50 61 | 67 65 7e 5c 70 61 67 65 |n()+,.Pa|ge~\page|
|00000440| 72 65 66 7b 66 6e 3a 73 | 65 74 7d 20 5c 76 65 72 |ref{fn:s|et} \ver|
|00000450| 62 2b 73 65 74 28 29 2b | 2e 0d 0d 5c 6e 65 77 70 |b+set()+|...\newp|
|00000460| 61 67 65 0d 0d 0d 0d | |age.... | |
+--------+-------------------------+-------------------------+--------+--------+